import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false
import '@/styles/index.less'
import 'element-ui/lib/theme-chalk/index.css';

import {
  Button, Input, Form, FormItem, Message, Container,
  Aside, Header, Main, Menu, Submenu, MenuItem, MenuItemGroup,
  Breadcrumb, BreadcrumbItem, Table, TableColumn, Card, Pagination
  , Radio, RadioGroup, Upload, Checkbox, CheckboxGroup,
} from 'element-ui';
Vue.use(Button)
  .use(Input)
  .use(Form)
  .use(FormItem)
  .use(Container)
  .use(Aside)
  .use(Header)
  .use(Main)
  .use(Menu)
  .use(Submenu)
  .use(MenuItem)
  .use(MenuItemGroup)
  .use(Breadcrumb)
  .use(BreadcrumbItem)
  .use(Table)
  .use(TableColumn)
  .use(Card)
  .use(Pagination)
  .use(Radio)
  .use(RadioGroup)
  .use(Upload)
  .use(Checkbox)
  .use(CheckboxGroup)

Vue.prototype.$message = Message
import router from '@/router/index.js'

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
